export GLOG_logtostderr=1
export GLOG_v=2
chunk_size=32
jit_model_path=/home/work_nfs15/asr_data/ckpt/asr_online_system/jit_script_chunk_"${chunk_size}"_left_1024.pt
#jit_model_path=/home/work_nfs15/asr_data/ckpt/asr_online_system/jit_script.pt
unit_path=/home/work_nfs15/asr_data/ckpt/asr_online_system/lang_char_bpe/tokens.txt
scp_path=wav_1000.scp
scp_path=wav_10.scp
text_path=/home/work_nfs15/asr_data/data/aishell_1/raw_scp/test/text

../runtime/libtorch/build/bin/websocket_server_main \
    --port 10087 \
    --chunk_size 26 \
    --rescoring_weight 5.0 \
    --model_path $jit_model_path \
    --unit_path $unit_path 2>&1 | tee server.log